How An Operating System Works